package com.wjc.train.business.repository;

import com.wjc.train.business.entity.DailyTrain;
import com.wjc.train.business.mapper.DailyTrainMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.DailyTrainQueryReq;
import com.wjc.train.business.resp.DailyTrainQueryResp;

/**
 * <p>
 * 每日车次表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-07
 */
@Repository
public class DailyTrainRepository extends ServiceImpl<DailyTrainMapper, DailyTrain> implements IService<DailyTrain>  {

   public IPage<DailyTrainQueryResp> queryList(IPage<DailyTrainQueryResp> page, DailyTrainQueryReq dailytrainQueryReq) {
        return baseMapper.queryList(page,dailytrainQueryReq);
    }
}